package music_store.ms.controller.pages.backend;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RequestMapping("/manage/music")
public class musicManagePageController {

    @RequestMapping("")
    public String manageMusicIndex(){
        return "/manage/music/musicManageIndex";
    }

    @RequestMapping("/save_music")
    public String saveMusic(){
        return "/manage/music/saveMusic";
    }

    @RequestMapping("/set_status")
    public String setMusicStatus(){
        return "/manage/music/setStatus";
    }

    @RequestMapping("/get_detail")
    public String setMusicDetail(){
        return "/manage/music/getDetail";
    }

    @RequestMapping("/get_music_list")
    public String getMusicList(){
        return "/manage/music/getMusicList";
    }

    @RequestMapping("/search")
    public String searchMusic(){
        return "/manage/music/search";
    }

}
